import {get,post,del,put} from '@/api/request'
export const listpage=(data: any)=>get('/app/shoppingcart/list',data);
export const total=(data: any)=>get('/app/shoppingcart/total',data);
export const getCart=(data: any)=>get('/app/shoppingcart/carts',data);
export const createOrder=(data: object)=>post('/app/shoppingcart/createOrder',data);
export const save=(data: object)=>post('/app/shoppingcart/add',data);
export const remove=(param: any)=>del('/app/shoppingcart/remove',param);